<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>  
    <meta charset="utf-8">
    <title>招领管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="/LOL/Public/Admin/assets/ico/favicon.html">
    <link href="/LOL/Public/Admin/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/LOL/Public/Admin/assets/css/theme.css" rel="stylesheet">
    <link href="/LOL/Public/Admin/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/LOL/Public/Admin/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="/LOL/Public/Admin/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
              <li><a id="messages" data-notification="2" href="#"><i class="icon-envelope"></i> Messages</a></li>
              <li><a id="notifications" data-notification="3" href="#"><i class="icon-globe"></i> Notifications</a></li>
            </ul>
            <ul class="pull-right">  
              <li><a href="login.html"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
      <div class="sidebar-nav nav-collapse collapse">
        <div class="user_side clearfix">
          <img src="/LOL/Public/Admin/assets/img/odinn.jpg" alt="Odinn god of Thunder">
          <h5>代练</h5>
          <a href="#"><i class="icon-cog"></i>之家</a>        
        </div>
        
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F5C294" href="/LOL/Admin/Good/goodlist"><i class="icon-user"></i> <span>个人信息管理</span></a>
            </div>
          </div>  
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C1F8A9" href="/LOL/Admin/Lost/lostlist"><i class="icon-bar-chart"></i> <span>订单管理</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="/LOL/Admin/Find/findlist"><i class="icon-bullhorn"></i> <span>招领管理</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F5C294" href="/LOL/Admin/User/userlist"><i class="icon-user"></i> <span>用户管理</span></a>
            </div>
          </div>    
        </div>
      </div>
      <!-- /Side menu -->

      <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>diuba-Find</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">

                <thead>
                 <tr>
                 <th>图片</th>
                 <th>物品</th>
                 <th>发布人</th>
                 <th>联系人</th>
                 <th>拾到地点</th>
                 <th>联系电话</th>
                 <th>捡拾时间</th>
                 <th>发布时间</th>
                 <th>操作</th>
                 </tr>
                </thead>

<tbody>
<?php if(is_array($find)): $i = 0; $__LIST__ = $find;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
<td align="center"><img src="/LOL/Public/Uploads/findphoto/<?php echo ($vo["picture"]); ?>" width=85 alt="无头像"></td>
<td><?php echo ($vo["goods_name"]); ?></td>
<td><?php echo ($vo["username"]); ?></td>
<td><?php echo ($vo["fname"]); ?></td>
<td><?php echo ($vo["place"]); ?></td>
<td><?php echo ($vo["telephone"]); ?></td>
<td><?php echo (substr($vo["finddate"],0,10)); ?></td>
<td><?php echo (substr($vo["createtime"],0,10)); ?></td>
<td>

<div class="btn-group">
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
Action
<span class="caret"></span>
</a>
<ul class="dropdown-menu pull-right">
<li>
<a href="#">
<i class="icon-legal"></i>
<a href="delfind/id/<?php echo ($vo["id"]); ?>"><i class="icon-trash"></i>删除</a>
<a href="detail/id/<?php echo ($vo["id"]); ?>"><i class="icon-bullhorn"></i>查看详细</a>
</ul>
</div>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>

</table>
</div> <!-- /widget-body -->
</div> <!-- /widget -->
</div> <!-- /row-fluid -->

</div>
<!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Add user/employee</h3>
      </div>
      <div class="modal-body">
        <p>Here you can insert the user creation form</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>  

    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/LOL/Public/Admin/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/LOL/Public/Admin/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/LOL/Public/Admin/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/LOL/Public/Admin/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/LOL/Public/Admin/assets/js/realm.js"></script>
  </body>
</html>